Validation Testing
We recommend testing rules using ModHeader, a Chrome add-on that allows you to activate rules for your session without changing your site status.
To test your rule configuration:
- Confirm that your session is a bypass session:
- In Chrome, in your site, click View > Developer > Developer Tools.
In the Console tab, type Yo.rum.get().optState and press Enter.
If you are running a bypass session, the console returns "bypass".
- Add ModHeader to Chrome:
-
In the search bar, type ModHeader and click the chrome.google.com result.
The ModHeader page of the Chrome Web Store page appears.
-
Click Add to Chrome.
A dialog box appears asking if you want to add ModHeader.
- Click Add Extension.
- In Chrome, click .
- In the ModHeader pane, for Name, type x-yottaa-opt-state.
-
For Value, type active.
The Request Header is automatically selected.
-
Refresh the page.
The session appears with Yottaa active. This is not visible to customers.
- Confirm that Yottaa is active for your session:
- Click View > Developer > Developer Tools.
In the Console tab, type Yo.rum.get().optState and press Enter.
- Check the site for errors. We recommend using our quality assurance checklist in addition to your company’s standard site QA.
- If you find an error, check if it is caused by Yottaa:
Click and clear x-yottaa-opt-state.
Refresh the site and check for the error.
If the error still appears, it is not a Yottaa error.
If the error resolves, contact your Yottaa support representative.